package com.qkl.xiatang.app.dto.message;

import lombok.Data;

@Data
public class MessageTypeSubDTO {

    private Integer subType;

    private Integer status;

    private String name;

    public static MessageTypeSubDTO create(Integer subType,Integer status){
        return create(subType,status,null);
    }

    public static MessageTypeSubDTO create(Integer subType,Integer status,String name){
        MessageTypeSubDTO dto = new MessageTypeSubDTO();
        dto.setSubType(subType);
        dto.setStatus(status);
        dto.setName(name);
        dto.setName(name);
        return dto;
    }

}
